foreach jstl

224

foreach jstl -

<c:forEach items="${list}" var="map">
    <c:forEach items="${map}" var="entry">
        ${entry.key}<br>
        ${entry.value}<br>
    </c:forEach>
</c:forEach>

foreach jstl -

<c:forEach items="${list}" var="item">
    ${item}<br>
</c:forEach>

Comments

Submit
0 Comments